// 回血增强效果
class HealingBoostEffect extends Effect {
    constructor(boost = 0.1) {
        super({
            id: 'healing_boost',
            name: '祥瑞',
            description: `获得卡牌后回血能力+${boost * 100}%`,
            type: EffectType.PASSIVE,
            price: 300
        });
        this.boost = boost;
    }

    apply(character) {
        const originalHeal = character.heal.bind(character);
        character.heal = function(amount) {
            return originalHeal(amount * (1 + this.boost));
        }.bind(this);
    }

    remove(character) {
        character.heal = character.constructor.prototype.heal;
    }
}

// 效果池配置
const EffectPool = {
    EASY: [
        {
            effect: HealingBoostEffect,
            weight: 1
        }
        // 添加更多效果...
    ],
    NORMAL: [
        {
            effect: HealingBoostEffect,
            weight: 1
        }
        // 添加更多效果...
    ],
    HARD: [
        {
            effect: HealingBoostEffect,
            weight: 1
        }
        // 添加更多效果...
    ]
}; 